classes almost working. Some syntax errors