restructure specs