Helpful functions that may come in handy sometime