prototype of sessionization done