modified level formula again