add data start and end options for data.
remove dropna call