got rid of printing to console