Added Some functions

Should be useful later on.  Hopefully they work