nag structure done. to do: clean up