Removed superfluous print calls