first attempt at a Redstone Flux implementation