First version (without API JavaClient in use)