comply with new API