clone and pthread versions has been added