use functions from session.sh