Add period to the correct location.