indentation corrected, TABs removed, line-ending in linux format