more XS code (still just a layout)