edit main java class