Fixed resource, still working on syscalls