some codes for xrowaws