The location check is added.