Combinational devices

rebased PR #61