It's a simple task and my solution works fine in the IDE.