read code for "filter" effect added