updated some printing and fixed legend