might be worth posting up the source for this one, what you're trying to do is simple enough on the face of it