complete clear code