implemented two more member functions of Molecule