Committed complete function of getting a data frame