use fun, not OUTPUT