add how code works