generates same output