Some recently used functions

that I would not have to write againd had I saved them somewhere before...