Made score functions.