step one for rebuild