added legend