Added parseShadowValue function