added small snippet