added some errors