uses queueSize in templates, fixes #68