Updated coordinates and fixed animateresult