Implemented very basic scoring and loss conditions