bunch of code samples which can be reused