basic gravity implemented. cleanups.