Formating done as per Brady's suggestion