add model output method