clear codes and add comment