need to add pause/restoration