Trying to make better mvoeTo function
fixed queue