Add variable for queue length