changed description and small errors solved in queries and temporal_functions