Functional segmentation

Change-Id: I0aa31a0e5035f124910b41f4a4f8a72cab969c73