added 'kernigan&ritchie' style bracket support