extract passed session