extract pos variable