maxified

making some changes, need readability