test complete

improvement is easier with pandas data frame