adding functions.sh