add resign feature