adding fn