remove secondary function