added blur & contour functions