added modelcontroller