thanks for removing the unused code