added a couple of functions. have a look at index of help file for overview.