adding both cases