API call functionality added