Added sample listener