errors fixed, schema works perfectly