trying to make it serielizeble