moved listeners to view
removed test output