added delta coding and header file