Implemented most of the fermeter logic.