add new fetch function / fix bugs in ambiguity / add combining part into preprocess file

we are not going to use combine r&c as a new file. everything will appear in preprocess as a function for efficiency (no write/read file)