working render with overlapping views