controller takes problem object instead if string