XsBeforeOs.java complete