split to multiple layouts