added commonly used snippet