How spaceships work