added the Session classification, not completely done