fix indent
rename export method
rename parentlineid
clean up program