initial codes for effect editor