finished organizing codes