destroy initialise function