Working code for the wrong problem