solution converted to mvc4