extending API