initial structure and output