gonna change how error is stored