made it so it rejects input for ratings outside of 1-5