Add last and prev methods