from http://mama.indstate.edu/users/ice/tree/