more setup and a bit of code