refactored cubic response