included dan workaround for slicing issue
defined the parent buffer