snippet for framework