modify serialzier class for add inerface