fixed gravity. added destructors.