more changes on chemistry.java