added code for using mapyst api