build prefab refactoring