wip: adding errors