make prev works