make tests pass. #49