begin write menu