added basic funcatnality of movement