added some basic movement code