unuseful function removed