Modification of finctions
Functions parameter changes and documentation
version with new functions format