removed debugging prints to console