example usage of the flatsheet editor with dat