postions of object done. Need debugging