wrote new code for readahead