added legend options