added doc on how to add new functions