update to pass stack size test