initialised some stuff to prevent exceptions