two options for getting data