add Serializable tag to classes