Add restore functionallity