updated to support scoring