Configuring basic listener