changed FanCreator to accept a buffer for batching reasons