implemented serializable in some classes