rewriting for use with more ocomplex model selection, can now eval attrs