changed from class Init to Session