tidying struct before it kicks off