Add to master branch file 'functions'