fixed indentation in main