some syntax-errors fixed