Changed model method to static