testFrame example done