refactoring neural conditions and predictions