clean up, create documentation