removed commented function