updated serialization prevention exercise