working on obstacle movement