save and restore hands