use proper conditional case