add locations check