renamed prompt variable
added timeFilter property, complete code refactoring