this should throw an error