write dimensions