changed indent style to k&r