implements a first attemp to gravity