Auto layout assignment
Auto Layout Assignment - revised