bugfix - not working at initial time
modify for kepler