why do we need maximize here?