implemented layout parsing