use IJ.log() instead of print