working to correct errors