Code snnipets of mine.