added possiblity to attach content to regions