added write choice helper