processed label-data and rewrite coyp-tied function