work on restore command