updated version to work with variable outset