Executes problems correctly