fixed bug in min, max; started implementing to use base stats