public static func existingIndexes() -> (result: [String], error: Int?) {

        //create the result and error variables
        var result = [String] ()
        var error: Int? = nil