removed dead code
to prev