trying to print error