added basic listener