add functions to disk management