init base structure