getting structure setup