cleanup, prepare for testing