added ans.out