loop=loop and loop=true is deprecated