db and scheduler are integrated. passes all tests