reformat code - indentation was sooo bad