remove noused code