refactored to add a stub for caedes.