more refactor and delete board feature