removed core fn dependency