adding print commands to instructions