implemented sub area functionality