minor change

minor change to minimum calculation
changed to scorecube
more minor changes
minor changes
some changes