somehow this slipped through some time ago... clearly state that this is our code, not mine.