improving the time keyword matching