first 2 sys-calls work