Removed unuseful function