added html download methods