add new fields to layer and pass to defer