Did you look at get_residue_type() in modules/atom/include/Residue.h? Ben -- ben@salilab.orgbenATsalilab.org http://salilab.org/~ben/ "It is a capital mistake to theorize before one has data." - Sir Arthur Conan Doyle