adding function details after fork