added functionality for filtering points by date