added back in chemical database stuff