add two useful snnipets