             resultSet = recommendationQuery(user_profile: userProfile as! String,
                                 n: 3, pattern: "\(word1) \(word2) \(current_input)%",
                                 words: words, result_set: resultSet)
-            // *******************
             for n in [2,3] {
                 resultSet = recommendationQuery(user_profile: userProfile as! String,
                                 n: n, pattern: "\(word2) \(current_input)%",

                t.column(ngrams.n)
            })
            
            // Create Profiles table
            try? db.run(profiles.table.create(ifNotExists: true) { t in
                t.column(profiles.profileId, primaryKey: .autoincrement)
                t.column(profiles.name)
                t.column(profiles.linksTo, defaultValue: 0)
            })
            
            //try? db.run(profiles.delete())
            
            // Insert the Default profile into the Profiles table if it doesn't exist
            

                                n: n, pattern: "\(current_input)%",
                                words: words, result_set: resultSet)
            }
        }
            
        else if word1 == "" && word2 != "" {
