commit preliminary result for adding lifecycle callbacks