back to maximum based solution