         if aBreinRecommendation == nil {
             throw BreinError.BreinRuntimeError("BreinRecommendation is nil");
         }
-
-        // TODO: merge to Swift 2.3 branch
         
         // apply the current configuration
         aBreinRecommendation.setConfig(self.getConfig())

                               success successBlock: @escaping BreinEngine.apiSuccess,
                               failure failureBlock: @escaping BreinEngine.apiFailure) throws {

        // TODO: set user in branch Swift 2.3 as well

        // set user in class Breinify ...
        self.setBreinUser(user)

        // ...and in class BreinActivity (will be used later when cloning)
        if let breinAct = getBreinActivity() {
            breinAct.setBreinUser(user)

            // Todo: remove this in Swift 2.3
            /*
            let clonedBreinActivity = breinAct.clone()

            clonedBreinActivity.setSuccessBlock(successBlock)
            clonedBreinActivity.setFailureBlock(failureBlock)
            */

            try activity(breinAct,
                    user: user,
                    activityType: activityType,


    /// contains the brein user
    static var breinUser: BreinUser?

    /// returns the brein recommendation instance
    public static func getBreinRecommendation() -> BreinRecommendation! {
