Representation of molecules