more restrictive condition in reveal based on code review feedback