added queue and node