code cleanup: line ending conversion to unix. replaced tabs with four blank spaces. corrected indentation.