removed code segments