used astyle --indent=spaces -L -w --convert-tabs -a -k1 *.c *.h **/*.c **/*.h to make all indenting and code style consistent