Update Model.java

removed erroneous code