Support times ranges, refactor method invokation