added another conditional statement