Deleted the redundant function