a comment explaining the add method