Just snippet code for exercising.