changing java- creating converter