Changed 'condition' to 'dataset' in all variables, keys etc for easier understanding