* removed unnecessary function that caused warning