     }
     
     func parseHTML(html: String) -> Void {
-        print(html)
+        print(">>> @parseHTML()")
+//        print(html)
         
         if let doc = Kanna.HTML(html: html, encoding: String.Encoding.utf8) {
             for student in doc.css("table#queue tbody") {

                let seperatedString = studentString.components(separatedBy: "\n").map{
                    $0.trimmingCharacters(in: NSCharacterSet.whitespacesAndNewlines)
                }
                print(">>> Student: \(seperatedString)")
                if seperatedString.first! == "Sija" {
                    continue
                }
                
                let name = seperatedString[1]
                let time = seperatedString[2]
                if !self.isStudentAlreadyInQueue(name: name, time: time) {
                    let seat = seperatedString[3]
                    self.pushStudentToQueue(name: name, time: time, seat: seat)
                } else {
                    print(">>> Already in queue")
                }
                
                
                
            }
            // Search for nodes by CSS
//            for show in doc.css("td[id^='Text']") {
//                
//                // Strip the string of surrounding whitespace.
//                let showString = show.text!.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceAndNewlineCharacterSet())
//                
//                // All text involving shows on this page currently start with the weekday.
//                // Weekday formatting is inconsistent, but the first three letters are always there.
//                let regex = try! NSRegularExpression(pattern: "^(mon|tue|wed|thu|fri|sat|sun)", options: [.CaseInsensitive])
//                
//                if regex.firstMatchInString(showString, options: [], range: NSMakeRange(0, showString.characters.count)) != nil {
//                    shows.append(showString)
//                    print(showString + "\n")
//                }
//            }
        }
    }
    
    func isStudentAlreadyInQueue(name: String, time: String) -> Bool {
        let studentsWithSameName = students.filter { $0.name == name }
        guard let student = studentsWithSameName.first else {
            return false
        }
        return student.time == time
    }
    
    func pushStudentToQueue(name: String, time:String, seat: String) {


        webView.evaluateJavaScript("document.documentElement.outerHTML") {
            (html: Any?, error: Error?) in
            if let doc = html as? String {
                if doc.contains(Constants.aPlusLogInURLPath) {
                    print(">>> Should log in")
