change direct model call to static calls