Israel’s first ever spacecraft, Beresheet (or, “Genesis”) successfully performed a decisive maneuver on Thursday keeping the craft on track to land on the moon next Thursday.

Genesis has now entered an elliptical orbit around the moon, which will gradually reduce in time to one orbit every two hours.

Had Genesis flied too fast, the spacecraft could have jumped out of both the earth’s and the moon’s orbit and head into the sun’s orbit, bring an end to the mission.

During the maneuver, Genesis’s speed slowed from about 8,500 kilometers per hour (5,200 mph) to 7,500 kilometers per hour (4,600 mph).

Its final maneuver will be landing in the Sea of Tranquility, which was also the landing site for America’s first manned moon landing on July 20, 1969.