added first revision of prodcon.c