correctly add locations