seperately added build, restore and restoreBuild methods