deleted unfuctional code