removed all unnecessary prints