a little cleanup
added basic score functionality