i need to look at this a bit more carefully tommorrow