frame snippet