prepare for competion