write alpha, betta to hash if flag is Alpha|Betta