errors and outputs