BUILDING ACCORDING TO PATTERN