added a both clause