coded movement but needs work