Creds

Thought I had better give the correct credit to the guy that wrote this
for me :)