makes previous and next helpers a little more friendly