changes in Merchents.java file