implemented options in read operation