add support for multiple sessions