remove old complete function