Some code pieces that usually use.