add max support