Added method for adding listeners