removed unnecessary int input