Decided not to use currentRoutes as a valid variable name. And fixing encapsulation for DataResult