Create problem 42

Needs to be refactored.