add data serializeation