new feature: add max layout