simplify - use serialize