some more code and the cougar dataset