added return val to moveGap