added sample with multiple entities