removing unecessary printing