changes to conditional rendering for model view, to not waste CPU