Some small code written by myself or collect from else place