deleted old chunk of useless code