Number Logic Puzzle 10810

Rules:

The grid is partially divided by black cells into compartments. Each compartment, vertically or horizontally, must contain a straight - a set of consecutive numbers, but in any order (for example: 2-1-3-4). Each column and each row contain the digits only once. Clues in black cells remove that digit from the row and column, and are not part of any straight.