added some rock movement code - part 1