f incoming and outgo