Changed dot generation #6