I like error checking okay?
Minor formatting changes.