cleanup and prep work