return value in serialize