added snipetts