queue positions helper