extending and improving data pattern section
added sections on horizontal and vertical composition