postmehtod after generation