New attempt at solving movemnt problem