worked on the continuous motion, and baudary lines