commenting code, something I should have done first!