adding listeners and processors