fixed score method. works correctly now.