removed code that not used