Removed inf.loop