implemented fluorine upgrade