adding xyz format