Deleted unnecessary function