add locations to detail object