removed some errors and added new ones