Modified behavior to pass test