Rubber ducking would have solved that in 30 seconds.
Not a member of The Register? Create a new account here.
Remember me on this computer? Post anonymously?