Deleted a redundant function