data test
frame wrapping is working
refactored and ship-shape