move function works, but ui isnt done