Updated gravity example