these two lines can actually be rolled up into `@appendChild view`