add small snippet