changed print statements which flood ui screen to passes