finish first code