initialised some variables...