Prozor if clause shortened