added str output to model