removed fn dependency