no idea why this mouse following code is creazy :)