add function that output moleculetypes