added blur logic