Use different apis as per tutorial