add new feature for time and custom function for get tweets