Removed redundant CONT flag and logic