working, still not getting all errors to print