error checking and indentation