generate should be close