added one small piece for an if statement
added scoring