Made generate sync