add appear pattern