adding auto layout support + example