put scores back in generate -- HAVE NOT RUN IT THOUGH