lasts testing and methods.java