How to escape gravity