basicly working now
work with time query
rename the main file