Yeah, needed to use that function elsewhere this time. (Not that I don't have a compulsive need to make functions smaller and cleaner :P)