started to work on minimization