adding some thread skeletons