Implemented first way of multiple XS files