separate file
fix search order with setTimeout