Created listener for classifications, which uses a windowed approach