break out setup from default code