all the classes now extends Serializable