removed error stuff as it is its own package now