extend session in check() fn