added queue [Closes #1]