changed coding format according to java convention.