depot implements serializable