set up base structure