internal methods that return Pair<String, String>: get rid of this mechanism #58