changing view to work with jython