define CONT and DONE