Added listener for checking results