better documented grab_data's parameters