adding errors partial and helper