added auto layout.