separeted to MVC