Added small bit of error catching