nested sim model functions