added position-calulator