example of shape usage in sampleFrame, some more work on it