set up a main bak to work with