added menu + write points to file