trying to figure out why errors are not working.