Reformatted code to use tabs instead of spaced for indentation