removed print at the bottom of code