modified alpha and createSession