remove unused helper functions