methods refactored, http get retry added.