added recent Elkan stuff