add persing mode