minor tweak to prev