optimising wrapper positioning