Minor edists and syntax error fix