this if was useless