Setting up the constructor