setting up structures