added first endpoint to get data