Finally worked, needs cleanup
get the data out