Animal behaviour a systems approach