what is this if condition for?