adapted to allman style