modified to match the new open test