add arg to turn off sparse output