Removed useless codes