implements Serializable to nested Classes, *infinite