removed print func calls