bug fixes; updated tags file
reorganized instance struct