schema complete and working