added legends layers and changed title in index