rev.2 (getting rid of unwanted system calls)