Added restore functions