just some boilerplate code for small apps