remove test print lines, hopefully document better