separated out print commands