adding function info