closure completed for checkmax

do other stuff now!