about scoring project, inelegant but it works