Modified level 7 according to this implementation constraints