Setting up the code.