added block/thread functionality