added fanout
added a little documentation