Added in try catches for exceptions