make changes suggested by Nate