library implements serializable, added demo code for presentatio nday