This code has been tested and it's functional. However, I don't understand the problem here. Could you please explain it?