a better conditional, just to please baris