required variable made private so it does not appear in the tag
min and max changed to protected so they will display in tag