completed Fast.java