makes dsl indepedendent from listener instances