Updated comments/notes for functions