Added function comments lost from previous commit