adding values on factories