added first draft of firm controller (to be completed)