checked for errors and updated files