Reviewed example, removed unnecessary serialization