new API for cor