added some move logic stuff