Tweaking the getPosition