use splqueue instead of array