Initialised some variables