add functions to manipulate default session