My XOS implementation