errors adding .errors variable