for the second version