fct function

Setting the traits of factors