Remove multiple for loops added marker to location class