other state initialization functions are called in a central location