Added comments and an add method