added validation that number is between 1 and 100