added listen line to template