adding a layout manager example