generating layout from string