implement listen structure in activate() method