added 'select' function

to enable the function of selecting a chunk without changing the
original