new and easier way to pass data for brian