first version of SSG setup