adding molecular graph representation