changed from warning to throw error