removed some java parameters, implemented commenting of lines