adding structure and prelim storage