provided more useful error Messages