work in progress

adding positioning code