printf alternative
