java classes added - input data problem fixed