removed unnecessary, non-mvc function