added potential api for testing