modified and condensed codes efficiency