restore pass method