not sure why the old way didn't work