initial autolayouts implementation