added var for position