fix exposing of when_to_use