added listen method in robot