now db can store any serilizable class.