finally figured out how to control layouts