update docs, remove testing code