Redid sample program