changed to use correct schema