Add locality

Add locality