A working model with no branch and no queue size limitation yet