removed unused older functions