outlined positioning algorithm