made random tests pass