adding conditional