using getParameter with default value
not using jpy.cast() anymore