cleanup of code before final presentation