fetch function version 1.0