'select' function added

enabled the function of selecting a chunk without changing the original