added function twoBitExtract