deleted unneeded taud loop