very basic chemical model and controller