changed Img.java