replace call to .select_formats with call to select_formats (argument)