includes functions for multi-model inference