Deleted some useless code