prepare for reuse