removed print statements to console