restore functionallity