after moving the coordinates code I have started having the chicken and egg problem, This is a temporary solution, need to find more elegant way of dealing with dependencies.