remove "give up" function