refactored overlay methods/properties into a buildOverlay method.