created correct schema