Fixing errors, still not runnable