Pieces of code pulled from here and there to show how I write.