Handling Errors more nicely.