using built-in max_member now