added custom listeners, profiles