Didn't fix much..still cannot find bug in code