New method to select valid dataframes