Deleted unnecessary function in renderer