use JavaConverters instead of JavaConversions