docs for gravity mag