Changed min and max length parameters to int