add in sessions for py2 and py3