perge logic implemented, need to update views logic