added schema and fixed typos