applied MVC-pattern