Change empty rate to extension method 2