add prev method