Added a scoring method
timing added