syscall wrapper done; debugging