removed unuseful codes