try alternate else if condition