deleted syntax error causing code