added 6th if conditional
added 6th if conditional