functions for mixed stock analysis