Syntax errors, added some debug stuff