first step of FT for layout + styling