move the problem show code to a partial