add score functionality and clean house