modified to do