you also should verify value of attrs