perhaps that should go in the classify routine