Fixed major bug in mane.java