changed name of method in gravity