remove code smell
increase speed when time increase
'