system call works