minor changes
removed distinct dependency