change from Jcas to cas, this helps in the correct initialization