add serialize (IN CONSTRUCTION!)