remove logic for checking num locations