Deleted some code which not used