got rid of print commands