more stuffs to communicate with rest api