added getpid system call - not tested yet