update fct now in transform.cpp + formatting