added snippet for spec