capturesession -> session for introduction of globalsession
global session working, but doesn't update on gui