adding default route
adding timer add and search
adding var declaration after use strict