Fixed heart - working properly. moved all prints to a function that works only when debug is raised