removed extra print lines