removed unused paramter