use native java classes