Modified GetPrevious and GetMore with the addition or rate.java