Changed first parameter to get access to move and direction informations