starting to add other variables
min and max are now generated from the specific data