Do beavers make dams purely by instinct? Do beavers use cognitive moves, learning, memory or skill acquisition in their life to build better? Or do they simply repeat instinctive gestures and end up with stereotyped architecture always?
It seems that running water triggers some sort of instinct: 
http://juneauempire.com/stories/050408/out_275269543.shtml