A few simple functions that I find I use on a regular basis