added legend()