part 2: add auto layout supported