add effect init to effect object