dependencies with fn as doc