update to make tests pass